package cn.tedu.oa.attendance.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@TableName("oa_attendance")
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Attendance {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;

    private LocalDateTime checkTime;

    private String address;

    private Integer type;

    private String locationResult;

    private String groupId;

    private String latitude;

    private String longitude;

    private String locationMethod;

    private Boolean checkByUser;

    private LocalDateTime workDate;
}